package JeuInterfaces;

import java.util.Vector;

import GameBoard.GameBoardFactory;

public class ChoixVersion extends ChoixVersionAbstract{

	public ChoixVersion()
	{
		super();
	}

	@Override
	protected void initRowData() 
	{
		rowData = new Vector<Vector<String>>();
		for (int i = 0; i < GameBoardFactory.extensionsName.length; i++) {
			Vector<String> newVersion = new Vector<String>();
			newVersion.add(GameBoardFactory.extensionsName[i]);
			rowData.add(newVersion);
		}
	}

	@Override
	protected void choixPartie(String version) 
	{
		new ChoixPartie(version);
	}
}
